.class public abstract Lcn/cheln/support/v4/pagerui/PagerHelper;
.super Ljava/lang/Object;


# instance fields
.field protected a:Landroid/app/LocalActivityManager;

.field protected b:Landroid/app/Activity;


# direct methods
.method public constructor <init>(Landroid/app/Activity;)V
    .locals 3

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcn/cheln/support/v4/pagerui/PagerHelper;->b:Landroid/app/Activity;

    new-instance v0, Landroid/app/LocalActivityManager;

    iget-object v1, p0, Lcn/cheln/support/v4/pagerui/PagerHelper;->b:Landroid/app/Activity;

    const/4 v2, 0x1

    invoke-direct {v0, v1, v2}, Landroid/app/LocalActivityManager;-><init>(Landroid/app/Activity;Z)V

    iput-object v0, p0, Lcn/cheln/support/v4/pagerui/PagerHelper;->a:Landroid/app/LocalActivityManager;

    iget-object v0, p0, Lcn/cheln/support/v4/pagerui/PagerHelper;->a:Landroid/app/LocalActivityManager;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/app/LocalActivityManager;->dispatchCreate(Landroid/os/Bundle;)V

    iget-object v0, p0, Lcn/cheln/support/v4/pagerui/PagerHelper;->a:Landroid/app/LocalActivityManager;

    invoke-virtual {v0}, Landroid/app/LocalActivityManager;->dispatchResume()V

    return-void
.end method


# virtual methods
.method public abstract a()Lcn/cheln/support/v4/view/PagerView;
.end method

.method public final a(Ljava/util/List;)V
    .locals 2

    invoke-virtual {p0, p1}, Lcn/cheln/support/v4/pagerui/PagerHelper;->b(Ljava/util/List;)V

    invoke-interface {p1}, Ljava/util/List;->size()I

    invoke-virtual {p0}, Lcn/cheln/support/v4/pagerui/PagerHelper;->a()Lcn/cheln/support/v4/view/PagerView;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcn/cheln/support/v4/view/PagerView;->a(I)V

    invoke-virtual {p0}, Lcn/cheln/support/v4/pagerui/PagerHelper;->a()Lcn/cheln/support/v4/view/PagerView;

    move-result-object v0

    invoke-virtual {v0}, Lcn/cheln/support/v4/view/PagerView;->requestFocusFromTouch()Z

    return-void
.end method

.method protected abstract b(Ljava/util/List;)V
.end method
